import Router from 'koa-router'
import CommentController from '@/api/CommentController'

const router = new Router({
  prefix: '/comments'
})
// 回复评论
router.post('/reply', CommentController.addComment)

// 编辑评论
router.put('/reply', CommentController.updateComment)

// 设置最佳
router.post('/best', CommentController.setBestComment)

// 点赞评论
router.post('/hands', CommentController.setHands)
export default router
